#pragma once
#include "gameobject.h"
#include "HeatPhysics.h"
class Generator :
	public GameObject, public HeatPhysics
{
private: 
	int PoweredStateImageID;
	int UnpoweredImageID;

	bool IsPowered;
	bool CheckPointIsPowered;
public:
	Generator(void);
	~Generator(void);

	//Overrides
	virtual void Update(float deltaTime) override;
	virtual void Render(void) const override;
	virtual void HandleCollision(GameObject& other, CollisionInfo& info) override;

	//Check Point Overrides
	virtual void SetCheckPointData() override;
	virtual void ResetToCheckPoint() override;

	//Accessors and Mutators
	void SetIsPowered( bool Active = true );

	void SetPoweredImageID( int index );
	void SetUnpoweredImageID( int index );
};

